package com.UdpRecieve.secret.domain;

/**
 * 所有BusinessLogic中的结果(落地、MD5完整性、解标、验标)-记录日志用
 * 验证结果 0:失败,1:成功,-1:没有
 */
public class SecretLableResult {

    private String erroCode = "";//错误码

    private int secret_level_isOk = 0;//文件密级
    private int secret_status_isOk = 0;//管理状态
    private int secret_extend_isOk = 0;//扩展属性
    private int secret_drafter_isOk = 0;//起草人
    private int secret_authority_isOk = 0;//审批人

    private String level;//文件密级
    private String status;//管理状态
    private String extend;//扩展属性
    private String drafter;//起草人
    private String authority;//审批人

    boolean secret_result = false;//验标最终结果
    boolean secret_solve_result = false;//解标最终结果
    boolean md5_result = false;//MD5完整性
    boolean save_result = false;//落地结果
    boolean copy_single = false;//拷贝给单导

    private String errorMsg = null;

    public String getErroCode() {
        return erroCode;
    }

    public void setErroCode(String erroCode) {
        this.erroCode = erroCode;
    }

    public boolean getCopy_single() {
        return copy_single;
    }

    public void setCopy_single(boolean copy_single) {
        this.copy_single = copy_single;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public boolean getSave_result() {
        return save_result;
    }

    public void setSave_result(boolean save_result) {
        this.save_result = save_result;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getExtend() {
        return extend;
    }

    public void setExtend(String extend) {
        this.extend = extend;
    }

    public String getDrafter() {
        return drafter;
    }

    public void setDrafter(String drafter) {
        this.drafter = drafter;
    }

    public String getAuthority() {
        return authority;
    }

    public void setAuthority(String authority) {
        this.authority = authority;
    }

    public int getSecret_level_isOk() {
        return secret_level_isOk;
    }

    public void setSecret_level_isOk(int secret_level_isOk) {
        this.secret_level_isOk = secret_level_isOk;
    }

    public int getSecret_status_isOk() {
        return secret_status_isOk;
    }

    public void setSecret_status_isOk(int secret_status_isOk) {
        this.secret_status_isOk = secret_status_isOk;
    }

    public int getSecret_extend_isOk() {
        return secret_extend_isOk;
    }

    public void setSecret_extend_isOk(int secret_extend_isOk) {
        this.secret_extend_isOk = secret_extend_isOk;
    }

    public int getSecret_drafter_isOk() {
        return secret_drafter_isOk;
    }

    public void setSecret_drafter_isOk(int secret_drafter_isOk) {
        this.secret_drafter_isOk = secret_drafter_isOk;
    }

    public int getSecret_authority_isOk() {
        return secret_authority_isOk;
    }

    public void setSecret_authority_isOk(int secret_authority_isOk) {
        this.secret_authority_isOk = secret_authority_isOk;
    }

    public boolean getSecret_result() {
        return secret_result;
    }

    public void setSecret_result(boolean secret_result) {
        this.secret_result = secret_result;
    }


    public boolean getSecret_solve_result() {
        return secret_solve_result;
    }

    public void setSecret_solve_result(boolean secret_solve_result) {
        this.secret_solve_result = secret_solve_result;
    }

    public boolean getMd5_result() {
        return md5_result;
    }

    public void setMd5_result(boolean md5_result) {
        this.md5_result = md5_result;
    }

    @Override
    public String toString() {
        return "SecretLableResult{" +
                "secret_level_isOk=" + secret_level_isOk +
                ", secret_status_isOk=" + secret_status_isOk +
                ", secret_extend_isOk=" + secret_extend_isOk +
                ", secret_drafter_isOk=" + secret_drafter_isOk +
                ", secret_authority_isOk=" + secret_authority_isOk +
                ", level='" + level + '\'' +
                ", status='" + status + '\'' +
                ", extend='" + extend + '\'' +
                ", drafter='" + drafter + '\'' +
                ", authority='" + authority + '\'' +
                ", secret_result=" + secret_result +
                ", secret_solve_result=" + secret_solve_result +
                ", md5_result=" + md5_result +
                ", save_result=" + save_result +
                ", errorMsg='" + errorMsg + '\'' +
                '}';
    }
}
